package com.software.sqlite.service;

import com.software.sqlite.api.admin.v1.vo.AdminV1Result;
import com.software.sqlite.entity.TbMovie;

/**
 * 账户信息Service
 */
public interface ITbMovieService {


    /**
     * 获取url
     * @param id
     * @return
     */
    AdminV1Result getPlayUrl(Long id);
    /**
     * 同步影片列表
     * @return
     */
    AdminV1Result syncMovieList();
    /**
     * 添加/修改
     * @param model
     * @return
     */
    boolean edit(TbMovie model);

    /**
     * 导入Excel
     * @param model
     * @throws Exception
     */
    void importData(TbMovie model)throws Exception;

    /**
     * 导出Excel
     * @param model
     * @throws Exception
     */
    void exportData(TbMovie model)throws Exception;


}
